package com.qwz.learn;

import com.qwz.learn.component.Component;

public class ConcreteDecoratorB extends Decorator {
    /**
     * 构造方法，传入组件对象
     *
     * @param component
     */
    public ConcreteDecoratorB(Component component) {
        super(component);
    }

    /**
     * 添加的职责
     */
    private void addedBehavior(){
        //具体职责实现
    }

    @Override
    public void operation() {
        super.operation();
    }
}
